home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetpubwindowrect.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  792b  |  33 lines

  1. /*
  2.  *--- PGetPubWindowRect.cpp -----------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPubWindowRect.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPubWindowRect.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. PGetPubWindowRect::PGetPubWindowRect()
  16. {
  17.     char temp[32];
  18.     
  19.     PQuery query(pm_getpubwindowrect, temp, 24);
  20.     PReplyBuf reply(temp);
  21.     
  22.     reply     >>    xLeftDC
  23.             >>    yTopDC
  24.             >>    xRightDC
  25.             >>    yBottomDC
  26.             >>    xLeft
  27.             >>    yTop
  28.             >>    xRight
  29.             >>    yBottom;
  30. }
  31.  
  32. // end of PGetPubWindowRect.cpp
  33.